package com.frejoys.common.dto.common;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;


@Data
public class LngLatDto {

    @NotNull(message = "{600}")
    @Schema(type = "Double", name = "lng", description = "经度", required = true, defaultValue = "104.06667")
    private Double lng;

    @NotNull(message = "{600}")
    @Schema(type = "Double", name = "lat", description = "纬度", required = true, defaultValue = "30.66667")
    private Double lat;

}
